package fun.eliauk.treedemo.mapper;

import fun.eliauk.treedemo.entity.Map;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xi-zijin
 * @since 2023-12-03
 */
public interface MapMapper extends BaseMapper<Map> {
    List<Map> nextNoteTree(@Param("id") Integer id);

    List<Map> noteTree(@Param("parentId") Integer parentId);
}
